package com.neusoft.neuiotms.dcom.repository.alter;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcom.model.alter.AlterLeaderApproval;

public interface AlterLeaderApprovalRepository extends JpaRepository<AlterLeaderApproval, Long> {

    AlterLeaderApproval findByWorkNumAndTaskId(String workNum, String taskId);

    AlterLeaderApproval findTopByWorkNumOrderByIdDesc(String workNum);
}
